//
//  Prisoner.m
//  NotificationTest
//
//  Created by wp w on 12-6-22.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import "Prisoner.h"

@implementation Prisoner 
-(void) setPid: (int) p{ 
    pid=p; 
} 
-(void) setName: (NSString*) n{ 
    [n retain]; 
    [name release]; 
    name=n; 
} 
-(int) pid{ 
    return pid; 
} 
-(NSString*) name{ 
    return name; 
} 
-(void) dealloc{ 
    [name release]; 
    [super dealloc]; 
} 
@end 
